import request from '@/utils/request'

export function getCake(params) {
    return request({
        url: '/cake/page',
        method: 'get',
        params

    })
}

export function getById(cakeId) {
    return request({
        url: '/cake/getById',
        method: 'get',
        params:{cakeId}

    })
}